
<div class="page">
    <div class="container">
        <div class="span10 offset1" style="margin-top:20px" id="wrap">
        	<form class="form-horizontal" method="POST" action="<?php echo site_url('login');?>">
			  <div class="control-group">
			  	<label class="controls" style="color:red;"><?php echo $error; ?></label>
			  </div>
			  <div class="control-group">			  	
			    <label class="control-label" for="inputUsername">Username</label>
			    <div class="controls">
			      <input type="text" id="inputUsername" name="username" placeholder="username">
			    </div>
			  </div>
			  <div class="control-group">
			    <label class="control-label" for="inputPassword">Password</label>
			    <div class="controls">
			      <input type="password" id="inputPassword" name="password" placeholder="Password">
			    </div>
			  </div>
			  <div class="control-group">
			    <div class="controls">			      
			      <a href="#myModal" data-toggle="modal" class="">Lupa password?</a>
			    </div>
			  </div>
			  <div class="control-group">
			    <div class="controls">			      
			      <button type="submit" class="btn">LOG IN</button>
			    </div>
			  </div>
			</form>
			<!-- Modal -->
        <div id="myModal" class="span5 modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 id="myModalLabel">Masukkan email atau username</h4>
            </div>
            <form method="POST" action="<?php echo site_url();?>/profil/lupaPassword">
                <div class="modal-body">
                    <div class="span4">
                        <input type="text" value="" name="usernameoremail" placeholder="username atau email" class="span4" />
                    </div>
                    <div class="span2 emailsubmit">
                        <input type="submit" value="SUBMIT" class="btn btn-primary" />
                    </div>
                </div>
            </form>
        </div>
</div>
</div>
</div>